import requests
url="http://3i-demo.smartfact.cn/webServer/login"
data={'passport':'xunchi','password':'xunchi'}
headers={"Content-Type": "application/json;charset=UTF-8",
         "user-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"}
session=requests.session()
r=session.post(url=url,headers=headers,json=data)
print(r.json())
u=session.get(url="http://3i-demo.smartfact.cn/webServer/qualityCheck/project?content=&page=1",)
print(u.json())